
from flask import Flask
from waitress import serve
from myRoutes.BookRoute import routes_bp
app = Flask(__name__)

app.register_blueprint(routes_bp)

@app.route('/')
def hello_world():
    return 'Hello, World!'

@app.route('/about')
def about():
    return 'this is the about page.'

if __name__ == '__main__':
    serve(app, host='0.0.0.0', port=8080)